<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<title>{$page_title} - {$site_title}</title>
<base href="{$SiteUrl}">
<meta name ="keywords" content="{$metakeywords}">
<meta name ="description" content="{$metadescription}"> 
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link rel="stylesheet" type="text/css" href="{$theme_img_path}css/base.css" />
<link rel="stylesheet" type="text/css" href="{$theme_img_path}css/general.css" />
<link rel="stylesheet" type="text/css" href="{$theme_style_path}css/style.css" />
<link rel="stylesheet" type="text/css" href="{$theme_img_path}css/layout.css" />
<link rel="stylesheet" type="text/css" href="css/common.css" />
<link rel="shorcut icon" type="image/x-ico" href="favicon.ico" />
<link rel="bookmark" type="image/x-ico" href="favicon.ico" />
<script src="scripts/jquery.js"></script>
<script language="javascript">
var keywords_sample = "{lang keywords_sample}";
var input_keywords = "{lang input_keywords}";
var SiteUrl = "{$SiteUrl}";
var show_ajax = "{$show_ajax}";
var nav_id = "{$nav_id}";
var search_url = "{the_url module=search}";
</script>
<script src="scripts/general.js"></script>
<!--{literal}-->
<script>
$(document).ready(function() {
	if(show_ajax==1){
		$.ajaxSetup ({
			cache: false
		});
		$("#hdLoginBar").load(SiteUrl+"ajax.php?action=showLoginBar",
				function (responseText, textStatus, XMLHttpRequest){
				this;
		});
	}
	$("#SearchKeyword").focus(function(){
		if($("#SearchKeyword").val()==keywords_sample){
			$("#SearchKeyword").val("").css('color', '#000000')
			};
		}).blur(function(){
		if($("#SearchKeyword").val()==''){
			$("#SearchKeyword").val(keywords_sample).css('color', '#ccc')
			};
	});
	$("#BtnSearch").click(function(){
		if($('#SearchKeyword').val()==keywords_sample) {alert(input_keywords);$('#SearchKeyword').focus();return false;}
	});
	$("#BtnCompany").click(function(){
		if($('#SearchKeyword').val()==keywords_sample) {alert(input_keywords);$('#SearchKeyword').focus();return false;}
		$("#SearchFrm").attr("action",search_url);
		$("#hdAct").val("direct");
	});
	$("[linkf='ads']").click(function(){
		window.location = SiteUrl+"redirect.php?url="+$(this).attr("href");
		return false;
	});
})
</script>
<!--{/literal}-->
</head>
<body id="bd_{$smarty.const.CURSCRIPT}">
<div id="header">
    <div class="headtop">
    <!--{cacheless}-->
    <p class="headtopcon">
        <a class="index" href="javascript:;" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('{$SiteUrl}');">{lang set_home_page}</a>
        <a href="javascript: myAddPanel(document.title,location.href,document.title);" rel="sidebar" title="{$site_name}">{lang add_favorite}</a>
        <!--{if $pb_username!=""}-->
        <span id="hdLoginBar"><em>{$_hello|sprintf:$pb_username}&nbsp;</em>
        <a href="redirect.php?url=/virtual-office" target="_blank">[{lang my_office_room}]</a>
        {if $is_admin}<a href="pb-admin/login.php" target="_admin">[{lang control_pannel}]</a>{/if}
        <a href="logging.php?action=logout">[{lang login_out}]</a></span>
        <!--{else}-->
        <span id="hdLoginBar"><em>{$_hello_welcome_to|sprintf:$site_name}</em>
        <a href="logging.php">&nbsp;[{lang pls_login}]</a>
        <a href="member.php" title="{lang register}" ><strong>[{lang free} {lang register}]</strong></a></span>
        <!--{/if}-->
        <a href="service/" style="float:right;">{lang customer_service}</a>
        <a href="standard/" style="float:right;">{lang standards}</a>
        <span id="language_bar"><!--{get_cache name="language"}--></span>
    </p>
    <!--{/cacheless}-->
    </div>
    <div class="logo_search clearfix">
        <h1 id="logo"><a href="{$site_url}"><img src="{$site_logo}" alt="{$site_banner_word}" /></a></h1>
       	<!--
	    <div class="search_bar">
            <div class="search_nav">
                <ul>
                    <li id="topMenuProduct"><a href="product/"><span>{lang search_product}</span></a></li>
                    <li id="topMenuNews"><a href="news/"><span>{lang search_news}</span></a></li>
                </ul>
                <a href="{the_url module=search}" class="fl lhighs">{lang adv_search}</a>
            </div>

			<form name="search_frm" id="SearchFrm" action="offer/list.php" method="get">
            <input type="hidden" name="do" id="hdDo" value="search" />
            <input type="hidden" name="act" id="hdAct" value="" />
             <div class="search_panel">
               <span class="search_input_box">
                    <input type="text" name="q" id="SearchKeyword" value="{$smarty.get.q|default:$_keywords_sample}" />
                  </span>
                  <span class="search_btn_box">
                  <button type="submit" id="BtnSearch" value="{lang search}">{lang search}</button>
                  <button type="submit" id="BtnCompany" value="{lang search}">{lang company_direct}</button>
                  </span>
			                  
             </div>
			<div style="border-bottom:110px;">
				  <span><strong>{lang latest_search}</strong><!--{tag row=3 flag=0 do=`$do`}-->{$tag.link}<!--{/tag}--></span> 
			</div>
            </form>
			
        </div>
    </div>
	-->
</div>
<div class="header_nav">    
    <div id="nav_inner">
        <ul><!-- {pb:get_cache name=nav} --></ul>
	</div>
</div>